package com.kunlun.basedata.organize.dao;

import com.kunlun.basedata.organize.model.CompanyModel;
import com.kunlun.basedata.organize.model.PostModel;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 岗位数据库Dao
 */
@Repository
public interface IPostDao {

    public List<PostModel> getPostPage(Map<String, Object> queryMap) throws Exception;

    public List<PostModel> getPostList(Map<String, Object> queryMap) throws Exception;

    public int getPostCount(Map<String, Object> queryMap) throws Exception;

    public void addPost(PostModel postModel) throws Exception;

    public void updatePost(PostModel postModel) throws Exception;

    public void deletePost(List<String> list) throws Exception;
}
